home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Hy-Hyperi / HyperHIT.cpt / HyperHit™ Q &A v1.0 / HyperHit™ Q &A v1.0 / card_13378.txt < prev    next >
Encoding:
Text File  |  1990-01-11  |  1.2 KB  |  18 lines

  1. -- card: 13378 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3387
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10. What is a keyset?
  11.  
  12. -- part contents for background part 2
  13. ----- text -----
  14. A keyset is a group of keys which share a common definition.  A simple example is a telephone book.  Each name is a key which points to a record containing that name's address and phone number and sometimes other items of information.  In this example, the entire list of names is a keyset.
  15.  
  16. With¬†HyperHIT, it is possible to create not only many keysets within a data file, but also subordinate keysets.  Taking our phone book as an example, a subordinate keyset could be the departments and phone extension numbers for a department store whose main number is listed in the phone book.
  17.  
  18. When a keyset is accessed, it is cached in memory to optimize searches.  You can use a keyset as a quick look-up table or to store mini records of less than 128 characters.  For a very simple example, you could store all legal 2-letter state abbreviations in a keyset and check all user entries in a state field against the abbreviations for non-matching entries.